SPAHB03700_[자동판정]기준분류설명관리.xrw 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 :
  4. * 설 명 :
  5. * 설 계 자 :
  6. * 작 성 자 :
  7. * 작 성 일 :
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  13. <xhtml:head>
  14. <xhtml:title>[자동판정]트리/트리설명 관리</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <info>
  20. <workflag/>
  21. <ajclscd1/>
  22. <ajclscd2/>
  23. <ajclscd3/>
  24. <fromdd/>
  25. <todd/>
  26. <detlrecm/>
  27. <langflag/>
  28. <viewseq/>
  29. <useflag/>
  30. <fstrgstrid/>
  31. <fstrgstdt/>
  32. <lastupdtrid/>
  33. <lastupdtdt/>
  34. <instcd/>
  35. <grupid/>
  36. <lvl/>
  37. <seqno/>
  38. <prtyn/>
  39. </info>
  40. <ajbclist>
  41. <ajbc_langflag/>
  42. <ajbc_ajclsnm/>
  43. <ajbc_viewseq/>
  44. <ajbc_fromdd/>
  45. <ajbc_todd/>
  46. <ajbc_useflag/>
  47. <ajbc_fstrgstrid/>
  48. <ajbc_fstrgstdt/>
  49. <ajbc_lastupdtrid/>
  50. <ajbc_lastupdtdt/>
  51. <ajbc_instcd/>
  52. <ajbc_ajclscd1/>
  53. <ajbc_ajclscd2/>
  54. <ajbc_ajclscd3/>
  55. <ajbc_grupid/>
  56. <ajbc_workflag/>
  57. </ajbclist>
  58. <ajmmlist>
  59. <ajmm_langflag/>
  60. <ajmm_detlrecm/>
  61. <ajmm_seqno/>
  62. <ajmm_fromdd/>
  63. <ajmm_todd/>
  64. <ajmm_fstrgstrid/>
  65. <ajmm_fstrgstdt/>
  66. <ajmm_lastupdtrid/>
  67. <ajmm_lastupdtdt/>
  68. <ajmm_instcd/>
  69. <ajmm_ajclscd1/>
  70. <ajmm_ajclscd2/>
  71. <ajmm_ajclscd3/>
  72. <ajmm_useflag/>
  73. <ajmm_workflag/>
  74. <ajmm_prtyn/>
  75. </ajmmlist>
  76. <ajbclist>
  77. <ajbc_langflag/>
  78. <ajbc_ajclsnm/>
  79. </ajbclist>
  80. </main>
  81. <send>
  82. <savedata/>
  83. <savedata1/>
  84. <tabflag/>
  85. <insertflag/>
  86. <reqdata>
  87. <ajmm_alldataviewyn/>
  88. <ajmm_srchdetlrecm/>
  89. <srchworkflagcd/>
  90. <srchgrupid/>
  91. <alldataviewyn/>
  92. </reqdata>
  93. </send>
  94. <hidden>
  95. <ajmminfo>
  96. <ajmm_orgmentcls/>
  97. <ajmm_orgfromdd/>
  98. <ajmm_orgtodd/>
  99. <ajmm_orgdetlrecm/>
  100. </ajmminfo>
  101. </hidden>
  102. <popupdata>
  103. <ajmm_ajclscd1/>
  104. <ajmm_ajclscd2/>
  105. <ajmm_ajclscd3/>
  106. <ajmm_clickyn/>
  107. <ajmm_fromdd/>
  108. <ajmm_todd/>
  109. </popupdata>
  110. <popupnode>
  111. <ajclscdlist/>
  112. </popupnode>
  113. <init>
  114. <A0001list>
  115. <A0001>
  116. <cdnm/>
  117. <cdid/>
  118. </A0001>
  119. </A0001list>
  120. <A0003list>
  121. <A0003>
  122. <cdnm/>
  123. <cdid/>
  124. </A0003>
  125. </A0003list>
  126. <A0004list>
  127. <A0004>
  128. <cdnm/>
  129. <cdid/>
  130. </A0004>
  131. </A0004list>
  132. <A0006list>
  133. <A0006>
  134. <cdnm/>
  135. <cdid/>
  136. </A0006>
  137. </A0006list>
  138. <A0008list>
  139. <A0008>
  140. <cdnm/>
  141. <cdid/>
  142. </A0008>
  143. </A0008list>
  144. <A0009list>
  145. <A0009>
  146. <cdnm/>
  147. <cdid/>
  148. </A0009>
  149. </A0009list>
  150. </init>
  151. </root>
  152. </instance>
  153. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  154. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  155. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  156. <script type="javascript" src="../../../ast/healexamweb/js/healexam.js"/>
  157. <script type="javascript" src="../../../ast/healexamautojudgweb/js/AJDG001.js"/>
  158. <script type="javascript" ev:event="xforms-ready">
  159. <![CDATA[
  160. fInit();
  161. fDefaultSet();
  162. fDefaultSubmit();
  163. fAuthCheck(btn_dept_save);
  164. model.refresh();
  165. ]]>
  166. </script>
  167. <submission id="TXAHB03302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata/ajmmlist" resultref="/root/main/ajmmlist"/>
  168. <submission id="TRAHB03301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/ajmmlist"/>
  169. <submission id="TRAHB03402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init_03400"/>
  170. <submission id="TXAHB03402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata/ajbclist" resultref="/root/popupdata"/>
  171. <submission id="TRAHB03403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/ajbclist"/>
  172. <submission id="TRAHB03805" mediatype="application/x-www-form-urlencoded" method="post"/>
  173. </model>
  174. <script type="javascript">
  175. <![CDATA[
  176. function fDefaultDataSet(){
  177. submit("TRAHB03301");
  178. }
  179. function fDefaultSet(){
  180. button6.dispatch("DOMActivate");
  181. model.setValue("/root/send/reqdata/srchworkflagcd" , 'TREE');
  182. model.setValue("/root/send/reqdata/srchgrupid",'B');
  183. model.setValue("/root/send/reqdata/alldataviewyn" , "N");
  184. }
  185. function fDefaultSubmit() {
  186. fSetCombo(); //콤보박스셋팅
  187. fSrchTree(); //트리조회
  188. //자동판정 공통코드 조회
  189. fGetHealexamCodeList( new Array("A0001" ,"A0003" , "A0004" , "A0006" ,"A0008","A0009"),
  190. new Array("/root/init/A0001list" , "/root/init/A0003list" ,"/root/init/A0004list", "/root/init/A0006list", "/root/init/A0008list" , "/root/init/A0009list") );
  191. }
  192. function fSetCombo(){
  193. //콤보박스 조회
  194. model.makeValue("/root/send/reqdata/srchworkflagcd", model.getValue("/root/send/reqdata/srchworkflagcd"));
  195. model.makeValue("/root/send/reqdata/srchgrupid",model.getValue("/root/send/reqdata/srchgrupid"));
  196. submit("TRAHB03402",false);
  197. }
  198. function fSrchTree(){
  199. //트리 조회
  200. model.makeValue("/root/send_03400/reqdata/alldataviewyn", model.getValue("/root/send/reqdata/alldataviewyn"));
  201. model.makeValue("/root/send_03400/reqdata/srchworkflagcd", model.getValue("/root/send/reqdata/srchworkflagcd"));
  202. model.makeValue("/root/send_03400/reqdata/srchgrupid",model.getValue("/root/send/reqdata/srchgrupid"));
  203. // model.makeValue("/root/send_03400/reqdata/srchflag", 'ajmm');
  204. submit("TRAHB03401", false);
  205. }
  206. function fInit(){
  207. model.makeValue("/root/send/newyn" , '');
  208. model.resetInstanceNode("/root/send/savedata");
  209. // model.resetInstanceNode("/root/send/reqdata");
  210. model.resetInstanceNode("/root/main/info");
  211. model.resetInstanceNode("/root/main/ajmmlist");
  212. model.resetInstanceNode("/root/main/ajbclist");
  213. cmb_ajclscd3.disabled = false;
  214. }
  215. function fDefaultComboSet(lvl , cd1, cd2 ) {
  216. if(lvl == "1"){
  217. cmb_ajclscd2.choices.itemset.attribute("nodeset") ="/root/init_03400/initajclscdlist[ajclscd1 = '"+ cd1 + "' and ajclscd2 != '"+ cd2 +"' and ajclscd3 = '000']";
  218. model.setValue("/root/main/info/ajclscd2" , "");
  219. cmb_ajclscd2.refresh();
  220. }else if(lvl == "2"){
  221. cmb_ajclscd3.choices.itemset.attribute("nodeset") ="/root/init_03400/initajclscdlist[ajclscd1 = '"+ cd1 + "' and ajclscd2 = '"+ cd2 +"' and ajclscd3 != '000']";
  222. model.setValue("/root/main/info/ajclscd3" , "");
  223. cmb_ajclscd3.refresh();
  224. }
  225. }//fDefaultComboSet end
  226. //데이터 처리
  227. function fSave() {
  228. var workflag = cmb_workflag.label;
  229. // 인스턴스값 넘길 데이터 노드에 셋팅
  230. if(workflag ==""){messageBox("원하시는 작업을 선택하세요" , "I999"); return false;}
  231. if(messageBox(workflag + " 하시겠습니까?", "Q999") != 6) return false;
  232. var tabflag = model.getValue("/root/send/tabflag");
  233. if(model.getValue("/root/hidden/info/fromdd") > model.getValue("/root/main/info/todd")){
  234. messageBox("시작일자가 종료일자보다 미래입니다.","E999"); return;
  235. }
  236. if(tabflag == "ajbc"){
  237. model.makeNode("/root/send/savedata/ajbclist");
  238. model.makeValue("/root/send/savedata/ajbclist/workflag", model.getValue("/root/main/info/workflag"));
  239. model.makeValue("/root/send/savedata/ajbclist/clscdflag", "ajclscd" + model.getValue("/root/main/info/lvl")); //생성대상
  240. model.makeValue("/root/send/savedata/ajbclist/ajclscd1", model.getValue("/root/main/info/ajclscd1"));
  241. model.makeValue("/root/send/savedata/ajbclist/ajclscd2", model.getValue("/root/main/info/ajclscd2"));
  242. model.makeValue("/root/send/savedata/ajbclist/ajclscd3", model.getValue("/root/main/info/ajclscd3"));
  243. model.makeValue("/root/send/savedata/ajbclist/viewseq", model.getValue("/root/main/info/viewseq"));
  244. model.makeValue("/root/send/savedata/ajbclist/grupid", model.getValue("/root/main/info/grupid"));
  245. model.makeValue("/root/send/savedata/ajbclist/lvl", model.getValue("/root/main/info/lvl"));
  246. model.makeValue("/root/send/savedata/ajbclist/newfromdd", model.getValue("/root/main/info/fromdd"));
  247. model.makeValue("/root/send/savedata/ajbclist/newtodd", model.getValue("/root/main/info/todd"));
  248. model.makeValue("/root/send/savedata/ajbclist/orgfromdd", model.getValue("/root/main/info/orgfromdd"));
  249. model.makeValue("/root/send/savedata/ajbclist/orgtodd", model.getValue("/root/main/info/orgtodd"));
  250. model.makeValue("/root/send/savedata/ajbclist/viewseq", model.getValue("/root/main/info/viewseq"));
  251. model.makeValue("/root/send/savedata/ajbclist/langflag", model.getValue("/root/main/info/langflag"));
  252. model.makeValue("/root/send/savedata/ajbclist/ajclsnm", model.getValue("/root/main/info/detlrecm"));
  253. model.makeValue("/root/send/savedata/ajbclist/insertflag", model.getValue("/root/send/insertflag"))
  254. var sub = submit("TXAHB03402",false);
  255. }
  256. if(tabflag == "ajmm"){
  257. model.makeNode("/root/send/savedata/ajmmlist");
  258. model.makeValue("/root/send/savedata/ajmmlist/ajmm_workflag", model.getValue("/root/main/info/workflag"));
  259. model.makeValue("/root/send/savedata/ajmmlist/ajmm_ajclscd1", model.getValue("/root/main/info/ajclscd1"));
  260. model.makeValue("/root/send/savedata/ajmmlist/ajmm_ajclscd2", model.getValue("/root/main/info/ajclscd2"));
  261. model.makeValue("/root/send/savedata/ajmmlist/ajmm_ajclscd3", model.getValue("/root/main/info/ajclscd3"));
  262. model.makeValue("/root/send/savedata/ajmmlist/ajmm_viewseq", model.getValue("/root/main/info/viewseq"));
  263. model.makeValue("/root/send/savedata/ajmmlist/ajmm_useflag", '4'); //ajmm용도 - 4.트리설명
  264. model.makeValue("/root/send/savedata/ajmmlist/ajmm_seqno", model.getValue("/root/main/info/seqno"));
  265. model.makeValue("/root/send/savedata/ajmmlist/ajmm_newfromdd", model.getValue("/root/main/info/fromdd"));
  266. model.makeValue("/root/send/savedata/ajmmlist/ajmm_newtodd", model.getValue("/root/main/info/todd"));
  267. model.makeValue("/root/send/savedata/ajmmlist/ajmm_orgfromdd", model.getValue("/root/main/info/orgfromdd"));
  268. model.makeValue("/root/send/savedata/ajmmlist/ajmm_orgtodd", model.getValue("/root/main/info/orgtodd"));
  269. model.makeValue("/root/send/savedata/ajmmlist/ajmm_langflag", model.getValue("/root/main/info/langflag"));
  270. model.makeValue("/root/send/savedata/ajmmlist/ajmm_detlrecm", model.getValue("/root/main/info/detlrecm"));
  271. model.makeValue("/root/send/savedata/ajmmlist/ajmm_prtyn", model.getValue("/root/main/info/prtyn"));
  272. var sub = submit("TXAHB03302",false);
  273. }
  274. if(sub == true){
  275. messageBox("데이터가 처리 되었습니다.","I999");
  276. window.reload();
  277. }
  278. }
  279. ]]>
  280. </script>
  281. </xhtml:head>
  282. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  283. <group id="grp_tle" style="left:0px; top:0px; width:590px; height:13px; ">
  284. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:356px; height:14px; ">[자동판정]트리/트리설명 관리</caption>
  285. </group>
  286. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:727px; ">
  287. <import id="import1" src="../../../ast/healexamautojudgweb/xrw/SPAHB03400_[자동판정]기준분류관리.xrw" style="left:0px; top:55px; width:230px; height:615px; "/>
  288. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  289. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:35px; "/>
  290. <line id="line13" class="line_4" style="x1:1117px; y1:7px; x2:1117px; y2:29px; "/>
  291. <select id="chk_srchendyn" ref="/root/send/reqdata/alldataviewyn" visibility="hidden" overflow="visible" appearance="full" cols="2" rows="1" style="left:1035px; top:10px; width:75px; height:18px; border-style:none; ">
  292. <choices>
  293. <item>
  294. <label>전체보기</label>
  295. <value>Y</value>
  296. </item>
  297. </choices>
  298. <script type="javascript" ev:event="xforms-select">
  299. <![CDATA[
  300. fAjmmAllView_03300();
  301. model.refresh();
  302. ]]>
  303. </script>
  304. <script type="javascript" ev:event="xforms-deselect">
  305. <![CDATA[
  306. fAjmmDefView_03300();
  307. model.refresh();
  308. ]]>
  309. </script>
  310. </select>
  311. <button id="btn_srch" class="btn1_letter2" style="left:1128px; top:7px; width:56px; height:22px; ">
  312. <caption>조회</caption>
  313. <script type="javascript" ev:event="DOMActivate">
  314. <![CDATA[
  315. fSetCombo();
  316. model.resetInstanceNode("/root/main/info");
  317. model.setValue("/root/main/info/grupid",model.getValue("/root/send/reqdata/srchgrupid"));
  318. fSrchTree();
  319. model.resetInstanceNode("/root/main/ajbclist");
  320. model.resetInstanceNode("/root/main/ajmmlist");
  321. model.refresh();
  322. ]]>
  323. </script>
  324. </button>
  325. <caption id="caption2" class="search_name" style="left:10px; top:9px; width:86px; height:17px; ">트리분류 :</caption>
  326. <select1 id="combo1" ref="/root/send/reqdata/srchworkflagcd" disabled="true" appearance="minimal" style="left:100px; top:8px; width:100px; height:19px; ">
  327. <choices>
  328. <itemset nodeset="/root/init/A0001list/A0001">
  329. <label ref="cdnm"/>
  330. <value ref="cdid"/>
  331. </itemset>
  332. </choices>
  333. </select1>
  334. <select1 id="combo2" ref="/root/send/reqdata/srchgrupid" appearance="minimal" style="left:205px; top:8px; width:160px; height:19px; ">
  335. <choices>
  336. <itemset nodeset="/root/init/A0009list/A0009">
  337. <label ref="cdnm"/>
  338. <value ref="cdid"/>
  339. </itemset>
  340. </choices>
  341. <script type="javascript" ev:event="xforms-value-changed">
  342. <![CDATA[
  343. cmb_grupid.refresh();
  344. ]]>
  345. </script>
  346. </select1>
  347. </group>
  348. <button id="btn_click" class="btn2_letter4" visibility="hidden" style="left:10px; top:45px; width:64px; height:19px; ">
  349. <caption>화면클릭</caption>
  350. <script type="javascript" ev:event="DOMActivate">
  351. <![CDATA[
  352. var ajclscd1 = model.getValue("/root/popupdata/ajclscd1");
  353. var ajclscd2 = model.getValue("/root/popupdata/ajclscd2");
  354. var ajclscd3 = model.getValue("/root/popupdata/ajclscd3");
  355. var fromdd = model.getValue("/root/popupdata/fromdd");
  356. var lvl = model.getValue("/root/popupdata/lvl");
  357. var tabvalue = model.getValue("/root/tmp/tabvalue");//탭 선택시 값이 셋팅됨
  358. var useflag = model.getValue("/root/main/ajmminfo/ajmm_useflag");
  359. var grupid = "";
  360. if(useflag == ""){useflag = '1'};
  361. output1.value= ajclscd1; output2.value= ajclscd2; output3.value= ajclscd3;
  362. var newyn = model.getValue("/root/send/newyn");
  363. if(newyn != "Y"){
  364. if(lvl != '1'){//헤더 클릭시 나오는 데이터가 없으므로 막는다.
  365. //트리
  366. model.makeValue("/root/send/reqdata/alldataviewyn","N");
  367. model.makeValue("/root/send/reqdata/srchgrupid",model.getValue("/root/send/reqdata/srchgrupid"));
  368. model.makeValue("/root/send/reqdata/srchworkflagcd",model.getValue("/root/send/reqdata/srchworkflagcd"));
  369. model.makeValue("/root/send/reqdata/srchajclscd1",ajclscd1);
  370. model.makeValue("/root/send/reqdata/srchajclscd2",ajclscd2);
  371. model.makeValue("/root/send/reqdata/srchajclscd3",ajclscd3);
  372. model.makeValue("/root/send/reqdata/srchfromdd",fromdd);
  373. model.makeValue("/root/send/reqdata/srchlangflag",'TREE');
  374. submit("TRAHB03403",false);
  375. //설명
  376. model.makeValue("/root/send/reqdata/ajmm_alldataviewyn","N");
  377. model.makeValue("/root/send/reqdata/ajmm_srchuseflag" ,'4');
  378. model.makeValue("/root/send/reqdata/ajmm_srchajclscd1",ajclscd1);
  379. model.makeValue("/root/send/reqdata/ajmm_srchajclscd2",ajclscd2);
  380. model.makeValue("/root/send/reqdata/ajmm_srchajclscd3",ajclscd3);
  381. model.makeValue("/root/send/reqdata/ajmm_alldataviewyn", 'N');
  382. model.makeValue("/root/send/reqdata/ajmm_comboyn" , 'N');
  383. submit("TRAHB03301", false);
  384. // if(ajclscd2 == '000'){ajclscd2 = '' ; }
  385. model.setValue("/root/main/info/ajclscd1" , ajclscd1);
  386. model.setValue("/root/main/info/ajclscd2" , ajclscd2);
  387. model.setValue("/root/main/info/ajclscd3" , ajclscd3);
  388. if(ajclscd2 != '000'){
  389. cmb_ajclscd2.choices.itemset.attribute("nodeset") ="/root/init_03400/initajclscdlist[ajclscd1 = '"+ ajclscd1 + "' and ajclscd2 = '"+ ajclscd2 +"' and ajclscd3 = '000']";
  390. cmb_ajclscd3.choices.itemset.attribute("nodeset") ="/root/init_03400/initajclscdlist[ajclscd1 = '"+ ajclscd1 + "' and ajclscd2 = '"+ ajclscd2 +"' and ajclscd3 != '000']";
  391. }
  392. }else{
  393. model.resetInstanceNode("/root/main/ajbclist"); //레벨1이 아니면 리스트가 존재 하므로 리스트를 초기화 시켜준다.
  394. model.resetInstanceNode("/root/main/info");//트리를 선택햇으므로 기존에 정보는 지워주고 리스트만 남겨둔다.
  395. }
  396. }else{
  397. var grupid = model.getValue("/root/send/reqdata/srchgrupid");
  398. if(grupid == "B"){
  399. cmb_lvl.value = lvl ;
  400. }else{
  401. if(lvl > 2){messageBox(combo2.label + "은 중분류생성까지 가능합니다", 'I999'); return false; }
  402. }
  403. // if(ajclscd2 == '000'){ajclscd2 = '' ; }
  404. model.setValue("/root/main/info/ajclscd1" , ajclscd1);
  405. model.setValue("/root/main/info/ajclscd2" , ajclscd2);
  406. model.setValue("/root/main/info/ajclscd3" , ajclscd3);
  407. if(ajclscd2 != '000'){
  408. cmb_ajclscd2.choices.itemset.attribute("nodeset") ="/root/init_03400/initajclscdlist[ajclscd1 = '"+ ajclscd1 + "' and ajclscd2 = '"+ ajclscd2 +"' and ajclscd3 = '000']";
  409. cmb_ajclscd3.choices.itemset.attribute("nodeset") ="/root/init_03400/initajclscdlist[ajclscd1 = '"+ ajclscd1 + "' and ajclscd2 = '"+ ajclscd2 +"' and ajclscd3 != '000']";
  410. }
  411. }
  412. model.refresh();
  413. ]]>
  414. </script>
  415. </button>
  416. <switch id="switch1" style="left:235px; top:73px; width:960px; height:597px; ">
  417. <case id="case_dept" style="left:0px; top:0px; width:960px; height:597px; ">
  418. <caption id="caption49" class="cell_1" style="left:0px; top:195px; width:64px; height:180px; ">항목명</caption>
  419. <datagrid id="grd_ajbclist" nodeset="/root/main/ajbclist" autoresize="true" caption="언어^내용" colsep="^" colwidth="70, 819" ellipsis="true" rowheight="150" rowsep="|" tooltip="true" style="left:65px; top:195px; width:893px; height:180px; ">
  420. <col disabled="true" ref="ajbc_langflag" type="combo">
  421. <choices>
  422. <itemset nodeset="/root/init/A0008list/A0008">
  423. <label ref="cdnm"/>
  424. <value ref="cdid"/>
  425. </itemset>
  426. </choices>
  427. </col>
  428. <col disabled="true" ref="ajbc_ajclsnm" type="input"/>
  429. <script type="javascript" ev:event="ondblclick">
  430. <![CDATA[
  431. model.makeValue("/root/main/info/workflag", model.getValue("/root/main/ajbclist[" + grd_ajbclist.row +"]/ajbc_workflag"));
  432. model.makeValue("/root/main/info/ajclscd1", model.getValue("/root/main/ajbclist[" + grd_ajbclist.row +"]/ajbc_ajclscd1"));
  433. model.makeValue("/root/main/info/ajclscd2", model.getValue("/root/main/ajbclist[" + grd_ajbclist.row +"]/ajbc_ajclscd2"));
  434. model.makeValue("/root/main/info/ajclscd3", model.getValue("/root/main/ajbclist[" + grd_ajbclist.row +"]/ajbc_ajclscd3"));
  435. model.makeValue("/root/main/info/fromdd", model.getValue("/root/main/ajbclist[" + grd_ajbclist.row +"]/ajbc_fromdd"));
  436. model.makeValue("/root/main/info/todd", model.getValue("/root/main/ajbclist[" + grd_ajbclist.row +"]/ajbc_todd"));
  437. model.makeValue("/root/main/info/orgfromdd", model.getValue("/root/main/ajbclist[" + grd_ajbclist.row +"]/ajbc_fromdd"));
  438. model.makeValue("/root/main/info/orgtodd", model.getValue("/root/main/ajbclist[" + grd_ajbclist.row +"]/ajbc_todd"));
  439. model.makeValue("/root/main/info/useflag", model.getValue("/root/main/ajbclist[" + grd_ajbclist.row +"]/ajbc_useflag"));
  440. model.makeValue("/root/main/info/grupid", model.getValue("/root/send/reqdata/srchgrupid"));
  441. model.makeValue("/root/main/info/fstrgstrid", model.getValue("/root/main/ajbclist[" + grd_ajbclist.row +"]/ajbc_fstrgstrid"));
  442. model.makeValue("/root/main/info/fstrgstdt", model.getValue("/root/main/ajbclist[" + grd_ajbclist.row +"]/ajbc_fstrgstdt"));
  443. model.makeValue("/root/main/info/lastupdtrid", model.getValue("/root/main/ajbclist[" + grd_ajbclist.row +"]/ajbc_lastupdtrid"));
  444. model.makeValue("/root/main/info/lastupdtdt", model.getValue("/root/main/ajbclist[" + grd_ajbclist.row +"]/ajbc_lastupdtdt"));
  445. model.makeValue("/root/main/info/langflag", model.getValue("/root/main/ajbclist[" + grd_ajbclist.row +"]/ajbc_langflag"));
  446. model.makeValue("/root/main/info/viewseq", model.getValue("/root/main/ajbclist[" + grd_ajbclist.row +"]/ajbc_viewseq"));
  447. model.makeValue("/root/main/info/lvl", model.getValue("/root/main/ajbclist[" + grd_ajbclist.row +"]/ajbc_lvl"));
  448. model.makeValue("/root/main/info/detlrecm", model.getValue("/root/main/ajbclist[" + grd_ajbclist.row +"]/ajbc_ajclsnm"));
  449. model.makeValue("/root/send/insertflag" , "langinsert");
  450. //분류코드값 셋팅
  451. var ajclscd1 = model.getValue("/root/main/ajbclist[" + grd_ajbclist.row +"]/ajbc_ajclscd1");
  452. var ajclscd2 = model.getValue("/root/main/ajbclist[" + grd_ajbclist.row +"]/ajbc_ajclscd2");
  453. var ajclscd3 = model.getValue("/root/main/ajbclist[" + grd_ajbclist.row +"]/ajbc_ajclscd3");
  454. var lvl = model.getValue("/root/main/ajbclist[" + grd_ajbclist.row +"]/ajbc_lvl");
  455. if(model.getValue("/root/main/ajbclist[" + grd_ajbclist.row +"]/ajbc_todd") <= getCurrentDate()){
  456. messageBox("이미종료된 내역입니다.","I999");
  457. //종료가 된 데이터는 수정 금지
  458. ipt_fromdd.disabled="true" ;
  459. ipt_todd.disabled="true" ;
  460. tar_detlrecm.disabled="true" ;
  461. btn_dept_save.disabled = "true";
  462. // cmb_ajmm_langflag.disabled="true" ;
  463. }else if(model.getValue("/root/main/ajbclist[" + grd_ajbclist.row +"]/ajbc_todd") > getCurrentDate()){
  464. messageBox("사용중이므로 이력처리, 수정, 삭제가 가능합니다.","I999");
  465. //사용 중이면 이력 처리
  466. ipt_fromdd.disabled="false" ;
  467. ipt_todd.disabled="false" ;
  468. tar_detlrecm.disabled="false" ;
  469. btn_dept_save.disabled = "false";
  470. // cmb_ajmm_langflag.disabled="true" ;
  471. }
  472. model.refresh();
  473. ]]>
  474. </script>
  475. </datagrid>
  476. <line id="line3" class="line_3" style="x1:0px; y1:595px; x2:352px; y2:595px; "/>
  477. <line id="line4" class="line_2" style="x1:0px; y1:76px; x2:174px; y2:76px; "/>
  478. <line id="line7" class="line_1" style="x1:0px; y1:22px; x2:960px; y2:22px; "/>
  479. <caption id="caption5" class="cell_1" style="left:0px; top:52px; width:64px; height:23px; ">시작일자</caption>
  480. <caption id="caption8" class="cell_1" style="left:230px; top:52px; width:64px; height:23px; ">종료일자</caption>
  481. <caption id="caption11" class="cell_1" style="left:230px; top:27px; width:64px; height:23px; ">대분류</caption>
  482. <caption id="caption19" class="tit_2" style="left:0px; top:7px; width:153px; height:14px; ">과/검사분류</caption>
  483. <input id="ipt_fromdd" ref="/root/main/info/fromdd" class="input_default" inputtype="date" appearance="minimal" style="left:66px; top:55px; width:159px; height:19px; "/>
  484. <input id="ipt_todd" ref="/root/main/info/todd" class="input_default" inputtype="date" appearance="minimal" style="left:296px; top:55px; width:174px; height:19px; "/>
  485. <button id="button4" class="btn2_letter3" style="left:861px; top:2px; width:53px; height:19px; ">
  486. <caption>초기화</caption>
  487. <script type="javascript" ev:event="DOMActivate">
  488. <![CDATA[
  489. fInit();
  490. model.refresh();
  491. ]]>
  492. </script>
  493. </button>
  494. <button id="btn_dept_save" class="btn5_letter2" style="left:915px; top:2px; width:42px; height:19px; ">
  495. <caption>저장</caption>
  496. <script type="javascript" ev:event="DOMActivate">
  497. <![CDATA[
  498. fSave();
  499. ]]>
  500. </script>
  501. </button>
  502. <caption id="caption22" class="cell_1" style="left:474px; top:27px; width:64px; height:23px; ">중분류</caption>
  503. <line id="line14" class="line_2" style="x1:0px; y1:102px; x2:960px; y2:102px; "/>
  504. <select1 id="cmb_ajclscd1" ref="/root/main/info/ajclscd1" class="combo_default" appearance="minimal" style="left:296px; top:29px; width:174px; height:19px; ">
  505. <choices>
  506. <itemset nodeset="/root/init_03400/initajclscdlist[initlvl ='1']">
  507. <label ref="ajclsnm"/>
  508. <value ref="ajclscd1"/>
  509. </itemset>
  510. </choices>
  511. <script type="javascript" ev:event="xforms-value-changed">
  512. <![CDATA[
  513. fDefaultComboSet('1', cmb_ajclscd1.value, '000' );
  514. model.setValue("/root/main/info/lvl",'2'); cmb_lvl.refresh();
  515. ]]>
  516. </script>
  517. </select1>
  518. <select1 id="cmb_ajclscd2" ref="/root/main/info/ajclscd2" class="combo_default" appearance="minimal" style="left:540px; top:29px; width:175px; height:19px; ">
  519. <choices>
  520. <itemset>
  521. <label ref="ajclsnm"/>
  522. <value ref="ajclscd2"/>
  523. </itemset>
  524. </choices>
  525. <script type="javascript" ev:event="xforms-value-changed">
  526. <![CDATA[
  527. fDefaultComboSet('2', cmb_ajclscd1.value,cmb_ajclscd2.value);
  528. model.setValue("/root/main/info/lvl",'3'); cmb_lvl.refresh();
  529. ]]>
  530. </script>
  531. </select1>
  532. <caption id="caption23" class="cell_1" style="left:0px; top:26px; width:64px; height:23px; ">처리구분</caption>
  533. <select1 id="cmb_workflag" ref="/root/main/info/workflag" class="combo_default" appearance="minimal" style="left:66px; top:29px; width:159px; height:19px; ">
  534. <choices>
  535. <itemset nodeset="/root/init/A0006list/A0006">
  536. <label ref="cdnm"/>
  537. <value ref="cdid"/>
  538. </itemset>
  539. </choices>
  540. <script type="javascript" ev:event="xforms-value-changed">
  541. <![CDATA[
  542. /*
  543. var workflag = cmb_workflag.value;
  544. if( workflag =="I"){
  545. cmb_useflag.disabled = true;
  546. }else if( workflag !="I"){
  547. cmb_useflag.disabled = false;
  548. }
  549. if( workflag =="U"){
  550. cmb_lvl.disabled = true;
  551. }else{
  552. cmb_lvl.disabled = false;
  553. }
  554. */
  555. ]]>
  556. </script>
  557. </select1>
  558. <line id="line18" class="line_2" style="x1:0px; y1:50px; x2:960px; y2:50px; "/>
  559. <line id="line16" class="line_2" style="x1:0px; y1:128px; x2:960px; y2:128px; "/>
  560. <caption id="caption1" class="cell_1" style="left:719px; top:27px; width:64px; height:23px; ">소분류</caption>
  561. <select1 id="cmb_ajclscd3" ref="/root/main/info/ajclscd3" class="combo_default" appearance="minimal" style="left:785px; top:29px; width:170px; height:19px; ">
  562. <choices>
  563. <itemset>
  564. <label ref="ajclsnm"/>
  565. <value ref="ajclscd3"/>
  566. </itemset>
  567. </choices>
  568. </select1>
  569. <caption id="caption20" class="cell_1" style="left:0px; top:78px; width:64px; height:23px; ">생성일</caption>
  570. <input id="ipt_fstrgstdt" ref="/root/main/info/fstrgstdt" class="input_default" disabled="true" format="yyyy-mm-dd hh:nn:ss" appearance="minimal" style="left:66px; top:80px; width:159px; height:19px; "/>
  571. <caption id="caption24" class="cell_1" style="left:230px; top:78px; width:64px; height:23px; ">생성자</caption>
  572. <input id="ipt_fstrgstrid" ref="/root/main/info/fstrgstrid" class="input_default" disabled="true" appearance="minimal" style="left:296px; top:80px; width:174px; height:19px; "/>
  573. <caption id="caption25" class="cell_1" style="left:474px; top:78px; width:64px; height:23px; ">수정일</caption>
  574. <caption id="caption26" class="cell_1" style="left:719px; top:78px; width:64px; height:23px; ">수정자</caption>
  575. <input id="ipt_lastupdtdt" ref="/root/main/info/lastupdtdt" class="input_default" disabled="true" format="yyyy-mm-dd hh:nn:ss" appearance="minimal" style="left:540px; top:80px; width:175px; height:19px; "/>
  576. <input id="ipt_lastupdtrid" ref="/root/main/info/lastupdtrid" class="input_default" disabled="true" appearance="minimal" style="left:785px; top:80px; width:170px; height:19px; "/>
  577. <line id="line12" class="line_2" style="x1:0px; y1:171px; x2:960px; y2:171px; "/>
  578. <caption id="caption43" class="cell_1" style="left:474px; top:103px; width:64px; height:23px; ">트리순서</caption>
  579. <caption id="caption44" class="cell_1" style="left:0px; top:104px; width:64px; height:23px; ">언어</caption>
  580. <input id="ipt_viewseq" ref="/root/main/info/viewseq" class="input_default" format="999999" appearance="minimal" style="left:540px; top:106px; width:174px; height:19px; "/>
  581. <select1 id="cmb_langflag" ref="/root/main/info/langflag" class="combo_default" appearance="minimal" style="left:66px; top:106px; width:159px; height:19px; ">
  582. <choices>
  583. <itemset nodeset="/root/init/A0008list/A0008">
  584. <label ref="cdnm"/>
  585. <value ref="cdid"/>
  586. </itemset>
  587. </choices>
  588. </select1>
  589. <line id="line34" class="line_2" style="x1:0px; y1:375px; x2:960px; y2:375px; "/>
  590. <caption id="caption3" class="cell_1" style="left:0px; top:130px; width:64px; height:40px; ">내용</caption>
  591. <textarea id="tar_detlrecm" ref="/root/main/info/detlrecm" style="left:66px; top:130px; width:889px; height:40px; "/>
  592. <caption id="caption7" class="tit_2" style="left:0px; top:175px; width:131px; height:14px; ">트리 리스트</caption>
  593. <line id="line1" class="line_1" style="x1:0px; y1:190px; x2:960px; y2:190px; "/>
  594. <datagrid id="grd_ajmmlist" nodeset="/root/main/ajmmlist" autoresize="true" caption="언어^내용" colsep="^" colwidth="70, 819" mergecellsfixedrows="bycolrec" rowheight="150" rowsep="|" style="left:65px; top:400px; width:893px; height:193px; ">
  595. <col disabled="true" ref="ajmm_langflag" type="combo">
  596. <choices>
  597. <itemset nodeset="/root/init/A0008list/A0008">
  598. <label ref="cdnm"/>
  599. <value ref="cdid"/>
  600. </itemset>
  601. </choices>
  602. </col>
  603. <col disabled="true" ref="ajmm_detlrecm" type="input"/>
  604. <script type="javascript" ev:event="ondblclick">
  605. <![CDATA[
  606. model.makeValue("/root/main/info/workflag", model.getValue("/root/main/ajmmlist[" + grd_ajmmlist.row +"]/ajmm_workflag"));
  607. model.makeValue("/root/main/info/ajclscd1", model.getValue("/root/main/ajmmlist[" + grd_ajmmlist.row +"]/ajmm_ajclscd1"));
  608. model.makeValue("/root/main/info/ajclscd2", model.getValue("/root/main/ajmmlist[" + grd_ajmmlist.row +"]/ajmm_ajclscd2"));
  609. model.makeValue("/root/main/info/ajclscd3", model.getValue("/root/main/ajmmlist[" + grd_ajmmlist.row +"]/ajmm_ajclscd3"));
  610. model.makeValue("/root/main/info/fromdd", model.getValue("/root/main/ajmmlist[" + grd_ajmmlist.row +"]/ajmm_fromdd"));
  611. model.makeValue("/root/main/info/todd", model.getValue("/root/main/ajmmlist[" + grd_ajmmlist.row +"]/ajmm_todd"));
  612. model.makeValue("/root/main/info/orgfromdd", model.getValue("/root/main/ajmmlist[" + grd_ajmmlist.row +"]/ajmm_fromdd"));
  613. model.makeValue("/root/main/info/orgtodd", model.getValue("/root/main/ajmmlist[" + grd_ajmmlist.row +"]/ajmm_todd"));
  614. model.makeValue("/root/main/info/useflag", model.getValue("/root/main/ajmmlist[" + grd_ajmmlist.row +"]/ajmm_useflag"));
  615. model.makeValue("/root/main/info/grupid", model.getValue("/root/main/ajmmlist[" + grd_ajmmlist.row +"]/ajmm_grupid"));
  616. model.makeValue("/root/main/info/fstrgstrid", model.getValue("/root/main/ajmmlist[" + grd_ajmmlist.row +"]/ajmm_fstrgstrid"));
  617. model.makeValue("/root/main/info/fstrgstdt", model.getValue("/root/main/ajmmlist[" + grd_ajmmlist.row +"]/ajmm_fstrgstdt"));
  618. model.makeValue("/root/main/info/lastupdtrid", model.getValue("/root/main/ajmmlist[" + grd_ajmmlist.row +"]/ajmm_lastupdtrid"));
  619. model.makeValue("/root/main/info/lastupdtdt", model.getValue("/root/main/ajmmlist[" + grd_ajmmlist.row +"]/ajmm_lastupdtdt"));
  620. model.makeValue("/root/main/info/langflag", model.getValue("/root/main/ajmmlist[" + grd_ajmmlist.row +"]/ajmm_langflag"));
  621. model.makeValue("/root/main/info/viewseq", model.getValue("/root/main/ajmmlist[" + grd_ajmmlist.row +"]/ajmm_viewseq"));
  622. model.makeValue("/root/main/info/detlrecm", model.getValue("/root/main/ajmmlist[" + grd_ajmmlist.row +"]/ajmm_detlrecm"));
  623. model.makeValue("/root/main/info/seqno", model.getValue("/root/main/ajmmlist[" + grd_ajmmlist.row +"]/ajmm_seqno"));
  624. model.makeValue("/root/main/info/prtyn", model.getValue("/root/main/ajmmlist[" + grd_ajmmlist.row +"]/ajmm_prtyn"));
  625. //분류코드값 셋팅
  626. var ajclscd1 = model.getValue("/root/main/ajmmlist[" + grd_ajmmlist.row +"]/ajmm_ajclscd1");
  627. var ajclscd2 = model.getValue("/root/main/ajmmlist[" + grd_ajmmlist.row +"]/ajmm_ajclscd2");
  628. var ajclscd3 = model.getValue("/root/main/ajmmlist[" + grd_ajmmlist.row +"]/ajmm_ajclscd3");
  629. model.refresh();
  630. ]]>
  631. </script>
  632. </datagrid>
  633. <caption id="caption9" class="cell_1" style="left:0px; top:400px; width:64px; height:194px; ">설명문</caption>
  634. <line id="line2" class="line_1" style="x1:0px; y1:395px; x2:960px; y2:395px; "/>
  635. <caption id="caption10" class="tit_2" style="left:0px; top:380px; width:133px; height:14px; ">트리설명 리스트</caption>
  636. <caption id="caption14" class="cell_1" style="left:474px; top:52px; width:64px; height:23px; ">용도</caption>
  637. <select1 id="cmb_useflag" ref="/root/main/info/useflag" class="combo_default" disabled="true" appearance="minimal" style="left:540px; top:55px; width:175px; height:19px; ">
  638. <choices>
  639. <itemset nodeset="/root/init/A0003list/A0003">
  640. <label ref="cdnm"/>
  641. <value ref="cdid"/>
  642. </itemset>
  643. </choices>
  644. </select1>
  645. <caption id="caption15" class="cell_1" style="left:719px; top:52px; width:64px; height:23px; ">상세분류</caption>
  646. <select1 id="cmb_grupid" ref="/root/main/info/grupid" class="combo_default" disabled="true" appearance="minimal" style="left:785px; top:55px; width:170px; height:19px; ">
  647. <choices>
  648. <itemset nodeset="/root/init/A0009list/A0009">
  649. <label ref="cdnm"/>
  650. <value ref="cdid"/>
  651. </itemset>
  652. </choices>
  653. </select1>
  654. <caption id="caption16" class="cell_1" style="left:230px; top:104px; width:64px; height:23px; ">트리레벨</caption>
  655. <select1 id="cmb_lvl" ref="/root/main/info/lvl" class="combo_default" appearance="minimal" style="left:296px; top:106px; width:175px; height:19px; ">
  656. <choices>
  657. <item>
  658. <label>레벨2</label>
  659. <value>1</value>
  660. </item>
  661. <item>
  662. <label>레벨3</label>
  663. <value>2</value>
  664. </item>
  665. <item>
  666. <label>레벨4</label>
  667. <value>3</value>
  668. </item>
  669. </choices>
  670. <script type="javascript" ev:event="xforms-value-changed">
  671. <![CDATA[
  672. var lvl = cmb_lvl.value;
  673. if( lvl =="3"){
  674. model.setValue("/root/main/info/ajclscd3", "000");
  675. cmb_ajclscd3.refresh();
  676. }else if( lvl =="2"){
  677. model.setValue("/root/main/info/ajclscd2", "000");
  678. model.setValue("/root/main/info/ajclscd3", "000");
  679. cmb_ajclscd2.refresh();cmb_ajclscd3.refresh();
  680. }else if( lvl =="1"){
  681. model.setValue("/root/main/info/ajclscd1", "000");
  682. model.setValue("/root/main/info/ajclscd2", "000");
  683. model.setValue("/root/main/info/ajclscd3", "000");
  684. cmb_ajclscd1.refresh();cmb_ajclscd2.refresh();cmb_ajclscd3.refresh();
  685. }
  686. ]]>
  687. </script>
  688. </select1>
  689. <button id="btn_ajbc_add" class="btn2_letter3" style="left:806px; top:2px; width:53px; height:19px; ">
  690. <caption>신규</caption>
  691. <script type="javascript" ev:event="DOMActivate">
  692. <![CDATA[
  693. fInit();
  694. model.makeValue("/root/send/newyn" , 'Y');
  695. if(model.getValue("/root/send/tabflag") == 'ajbc'){
  696. model.setValue("/root/main/info/grupid",model.getValue("/root/send/reqdata/srchgrupid"));
  697. model.setValue("/root/main/info/lvl",'1');
  698. model.setValue("/root/main/info/useflag" ,'');
  699. model.setValue("/root/main/info/prtyn" ,'');
  700. cmb_lvl.disabled="false" ;
  701. cmb_prtyn.disabled= true ;
  702. }else{
  703. model.setValue("/root/main/info/grupid",'');
  704. model.setValue("/root/main/info/lvl",'');
  705. model.setValue("/root/main/info/useflag" ,'4');
  706. cmb_lvl.disabled="true" ;
  707. model.setValue("/root/main/info/seqno",'');
  708. model.setValue("/root/main/info/prtyn" ,'Y');
  709. cmb_prtyn.disabled= false ;
  710. }
  711. if(model.getValue("/root/main/info/grupid") == 'M' ){
  712. cmb_ajclscd3.disabled = true;
  713. }else{
  714. cmb_ajclscd3.disabled = false;
  715. }
  716. model.setValue("/root/main/info/detlrecm" , '-------------내용을 입력해주세요----------------');
  717. model.setValue("/root/main/info/viewseq",'auto');
  718. model.setValue("/root/main/info/workflag" ,'I');
  719. model.setValue("/root/main/info/langflag",'KOR');
  720. model.setValue("/root/main/info/todd" , '99991231');
  721. model.setValue("/root/main/info/fromdd", getCurrentDate().toDate().getAddDate(1).getDateFormat("YYYYMMDD"));
  722. model.makeValue("/root/send/insertflag" , ""); //langinsert 값을 빼줘야 일련번호를 새로 딴다.
  723. model.refresh();
  724. ]]>
  725. </script>
  726. </button>
  727. <caption id="caption4" class="cell_1" style="left:720px; top:105px; width:64px; height:23px; ">설명출력</caption>
  728. <select1 id="cmb_prtyn" ref="/root/main/info/prtyn" class="combo_default" disabled="true" appearance="minimal" style="left:785px; top:106px; width:170px; height:19px; ">
  729. <choices>
  730. <item>
  731. <label>예</label>
  732. <value>Y</value>
  733. </item>
  734. <item>
  735. <label>아니오</label>
  736. <value>N</value>
  737. </item>
  738. </choices>
  739. </select1>
  740. <output id="output1" style="left:271px; top:30px; width:24px; height:19px; "/>
  741. <output id="output2" style="left:515px; top:30px; width:24px; height:19px; "/>
  742. <output id="output3" style="left:759px; top:30px; width:24px; height:19px; "/>
  743. </case>
  744. </switch>
  745. <button id="button6" class="btn_sw" group="tab" selected="true" style="left:235px; top:52px; width:60px; height:22px; ">
  746. <caption>트리</caption>
  747. <toggle case="case_dept" ev:event="onclick"/>
  748. <script type="javascript" ev:event="DOMActivate">
  749. <![CDATA[
  750. model.setValue("/root/send/tabflag" , 'ajbc');
  751. // model.setValue("/root/main/info/langflag",'KOR');
  752. caption19.value = "트리";
  753. caption10.attribute("visibility") = "hidden";
  754. line2.attribute("visibility") = "hidden";
  755. grd_ajmmlist.attribute("visibility") = "hidden";
  756. caption9.attribute("visibility") = "hidden";
  757. cmb_prtyn.disabled= true ;
  758. fInit();
  759. model.makeValue("/root/send/reqdata/srchworkflagcd", 'TREE');
  760. model.refresh();
  761. ]]>
  762. </script>
  763. </button>
  764. <button id="button8" class="btn_sw" group="tab" style="left:295px; top:52px; width:60px; height:22px; ">
  765. <caption>트리설명</caption>
  766. <toggle case="case_dept" ev:event="onclick"/>
  767. <script type="javascript" ev:event="DOMActivate">
  768. <![CDATA[
  769. model.setValue("/root/send/tabflag" , 'ajmm');
  770. // model.setValue("/root/main/info/langflag",'KOR');
  771. caption19.value = "트리설명";
  772. caption10.attribute("visibility") = "visible";
  773. line2.attribute("visibility") = "visible";
  774. grd_ajmmlist.attribute("visibility") = "visible";
  775. caption9.attribute("visibility") = "visible";
  776. cmb_lvl.disabled="true" ;
  777. cmb_prtyn.disabled= false ;
  778. fInit();
  779. model.makeValue("/root/send/reqdata/srchworkflagcd", 'TREE');
  780. model.refresh();
  781. ]]>
  782. </script>
  783. </button>
  784. </group>
  785. </xhtml:body>
  786. </xhtml:html>